home *** CD-ROM | disk | FTP | other *** search
/ Champak 49 / Volume 49 - JOGO DISK .iso / Games / freezelifter.swf / scripts / frame_72 / DoAction.as
Encoding:
Text File  |  2007-10-01  |  1016 b   |  36 lines

  1. function setVars()
  2. {
  3.    level = 1;
  4.    wind = 0;
  5.    paused = false;
  6.    chickA = new Array();
  7.    chopper_fall_speed = 1.2;
  8.    chopper_fuel_start = 1000;
  9.    chopper_fuel_drain = 1;
  10.    chopper_fall_speed = 1.2;
  11.    chopper_speed_x_limit = 6;
  12.    chopper_speed_y_limit = 2.9;
  13.    chopper_number_cutoff = 0.002;
  14.    chopper_slowdown_Yrate = 0.1;
  15.    chopper_slowdown_Xrate = 0.15;
  16.    c_s_r = 0.5;
  17.    chopper_rotate_limit = 30;
  18.    chopper_ground_y = 442;
  19.    chopper_top_y = 125;
  20.    c_f_r = 450;
  21.    c_f_l = 40;
  22.    chopper_crash_speed = chopper_speed_x_limit - 2;
  23.    var _loc2_ = _root.base._width;
  24.    var _loc1_ = 500;
  25.    num_of_lives = 3;
  26.    background_limit = _loc2_ - _loc1_ - 20;
  27.    var _loc3_ = _loc1_ / _loc2_;
  28.    setProperty("_root.map.map_screen", _xscale, 277 * _loc3_);
  29.    map_diff = 277 * _loc3_;
  30.    map_scroll_percent = (277 - map_diff) / background_limit;
  31.    var map_diff = chopper_ground_y - chopper_top_y;
  32.    map_mini_chopper_per = 16 / map_diff;
  33.    map_diff = 480;
  34. }
  35. setVars();
  36.